﻿using MiniExcelLibs.Attributes;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using Zo.ExcelBox.Base;

namespace Zo.ExcelBox.Models
{
    /// <summary>
    /// 微信
    /// </summary>
    public class JudicialCaseTransactionRecord_WeChat
    {
       

        /// <summary>
        /// 交易卡号
        /// </summary>
        [ExcelColumn(Name = "付款方银行卡所属银行卡号")]
        public string CardNumber { get; set; }

        /// <summary>
        /// 开户银行
        /// </summary>
        [ExcelColumn(Name = "付款方银行卡所属银行名称")]
        public string BankName { get; set; }

        /// <summary>
        /// 交易账号
        /// </summary>
        [ExcelColumn(Name = "付款方的支付帐号")]
        public string AccountNumber { get; set; }



        [ExcelColumn(Name = "交易时间")]
        public string LongTime { get; set; }

        /// <summary>
        /// 交易时间
        /// </summary>
        public DateTime TransactionTime
        {
            get
            {
                return LongTime.Trim().StringToData();
            }
        }

        /// <summary>
        /// 出入账标识
        /// </summary>
        [ExcelColumn(Name = "交易主体的出入账标识")]
        public string TransactionDirection { get; set; }

        /// <summary>
        /// 交易金额
        /// </summary>
        [ExcelColumn(Name = "交易金额")]
        public decimal TransactionAmount { get; set; }

        /// <summary>
        /// 账户余额
        /// </summary>
        [ExcelColumn(Name = "交易余额")]
        public decimal AccountBalance { get; set; }

        /// <summary>
        /// 交易流水号
        /// </summary>
        [ExcelColumn(Name = "交易流水号")]
        public string TransactionId { get; set; }

        /// <summary>
        /// 对手户名
        /// </summary>
        [ExcelColumn(Name = "收款方的商户名称")]
        public string CounterpartyName { get; set; }

        /// <summary>
        /// 对手卡号
        /// </summary>
        [ExcelColumn(Name = "收款方银行卡所属银行卡号")]
        public string CounterpartyCardNumber { get; set; }

        /// <summary>
        /// 对手开户银行
        /// </summary>
        [ExcelColumn(Name = "收款方银行卡所属银行名称")]
        public string CounterpartyBank { get; set; }

        /// <summary>
        /// IP地址
        /// </summary>
        [ExcelColumn(Name = "交易支付设备ip")]
        public string IP { get; set; }

        /// <summary>
        /// MAC地址
        /// </summary>
        [ExcelColumn(Name = "mac地址")]
        public string MAC { get; set; }

        /// <summary>
        /// 现金标志
        /// </summary>
        public string CashFlag { get; set; }

        /// <summary>
        /// 交易类型
        /// </summary>
        [ExcelColumn(Name = "交易类型")]
        public string TransactionType { get; set; }

        /// <summary>
        /// 币种
        /// </summary>
        [ExcelColumn(Name = "币种")]
        public string Currency { get; set; }


        /// <summary>
        /// 交易发生地经度
        /// </summary>
        [ExcelColumn(Name = "交易地点经度")]
        public string TransactionLocationLong { get; set; }

        /// <summary>
        /// 交易发生地纬度
        /// </summary>
        [ExcelColumn(Name = "交易地点纬度")]
        public string TransactionLocationLat { get; set; }
    }
}
